home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
drivers
/
win31vga.zip
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1992-04-15
|
4KB
|
99 lines
echo off
cls
if () == (%1) goto NO_ARG
if (a:) == (%1) goto FDISK
if (b:) == (%1) goto FDISK
cls
echo ┌─────────────────────────────┐
echo │** ATI Windows 3.1 Drivers **│
echo └─────────────────────────────┘
echo
echo ───────────────────────────────────────────────────────────
echo ERROR: Invalid drive specified.
echo You must use drive A: or B:
echo ───────────────────────────────────────────────────────────
echo
echo In order to properly install the Windows 3.1 drivers, the
echo files contained in enclosed archive SHOULD be extracted to a
echo high density floppy disk. The Windows SETUP program will
echo then use this disk to configure Windows correctly. Please
echo try again specifying either drive A: or B:.
goto DONE
:NO_ARG
cls
echo ┌─────────────────────────────┐
echo │** ATI Windows 3.1 Drivers **│
echo └─────────────────────────────┘
echo ─────────────────
echo This batch file needs to know what drive you wish to install
echo the files on. You must install the drivers to a diskette.
echo Please also ensure that the drive contains a high density floppy.
echo
echo ─────────────────────────
echo │ Usage: INSTALL [drive]: │
echo ─────────────────────────
echo Example: INSTALL A:
goto DONE
:FDISK
cls
echo ┌─────────────────────────────┐
echo │** ATI Windows 3.1 Drivers **│
echo └─────────────────────────────┘
echo ─────────────────
echo This batch file will conveniently extract the
echo ATI Windows 3.1 Drivers to a high density floppy diskette.
echo ─────────────────
echo Please ensure that you have a blank/formatted
echo floppy diskette ready before you continue. This
echo diskette may be a high or low density type.
echo
echo Press any key to continue the installation
echo or CONTROL-C to abort.
pause >nul
cls
echo ┌─────────────────────────────┐
echo │** ATI Windows 3.1 Drivers **│
echo └─────────────────────────────┘
echo ─────────────────
echo Decompressing. . .
win31vga /e%1
if not ERRORLEVEL 0 goto ERROR
cls
echo ┌─────────────────────────────┐
echo │** ATI Windows 3.1 Drivers **│
echo └─────────────────────────────┘
echo ─────────────────
echo ╒══════════════════════════╕
echo │ Installation successful! │
echo ╘══════════════════════════╛
echo
echo The first step of the installing your ATI Windows 3.1 drivers is now
echo complete. The next step is to tell Windows to use these drivers. Please
echo read the README.TXT file for instructions on how to tell Windows to use
echo these new drivers. The README.TXT file is located on the diskette your
echo have just created. If you require assistance in any way, please feel
echo free to contact ATI Customer Support.
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
goto DONE
:ERROR
cls
echo ┌─────────────────────────────┐
echo │** ATI Windows 3.1 Drivers **│
echo └─────────────────────────────┘
echo
echo ╒══════════════════════╕
echo │ Installation failed! │
echo ╘══════════════════════╛
echo ───────────────
echo Please check the diskette that you specified and ensure it has at least
echo 800K free disk space. If this batch file continues to present problems,
echo please refer to the README.1ST file for instructions on how to manually
echo extract the Windows 3.1 drivers. If you continue to have problems,
echo download the file again or call ATI Customer Support for assistance.
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
:DONE